package net.ojbk.study.twobox.dao;

import net.ojbk.study.twobox.beans.po.Lessontype;
import net.ojbk.study.twobox.beans.vo.SelectOption;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface LessontypeMapper extends Mapper<Lessontype> {

    @Select("SELECT id id, lessonName `name` FROM crm_lessontype")
    public List<SelectOption> getAllSO_Lesson();
}